﻿using Inovout.Web;
using Microsoft.AspNet.Identity;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Owin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using Microsoft.Owin.Security.Inovout;

namespace KuaJing.ManagementConsole.WebPage
{
    public class MvcApplication : HttpApplication
    {

    }


    public class AccountApplication : IApplicationConfiguration
    {
        public void Configure(IAppBuilder app)
        {
            // Enable Application Sign In Cookie
            //app.UseCookieAuthentication(new CookieAuthenticationOptions
            //{
            //    AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
            //    LoginPath = new PathString("/OAuthAccount/External/Inovout")
            //});
            //app.UseExternalSignInCookie(DefaultAuthenticationTypes.ExternalCookie);
            //app.UseInovoutAuthentication("7991fc71620944f983a2c64a6249d13a", "7991fc71620944f983a2c64a6249d13a");
        }


    }
}
